import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import Camera from './views/camera.vue'
import Excel from './views/excel.vue'
import Map from './views/map.vue'
import Data from './views/data.vue'
import BarragePage from './views/barragePage.vue'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/camera',
      component: Camera
    },
    {
      path: '/excel',
      component: Excel
    },
    {
      path: '/map',
      component: Map
    },
    {
      path: '/data',
      component: Data
    },
    {
      path: '/barragePage',
      component: BarragePage
    }
  ]
})
